package com.alibaba.citrus.cr.mn.order.center.facade.adapter.dataobject.response;

import com.epoch.app.bcorder.model.dto.OrganizationSDO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * @author zhangxiaorui
 * @ClassName OrganizationDTO
 * @description: TODO
 * @date 2023/05/09 18:53
 * @version: 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrganizationDTO implements Serializable {
    private static final Long serialVersionUID = -1L;

    /**
     * id
     */
    private String id;

    /**
     * name
     */
    private String name;

    /**
     * code
     */
    private String code;

    /**
     * parentId
     */
    private String parentId;

    /**
     * parentName
     */
    private String parentName;

    /**
     * type
     */
    private Integer type;

    /**
     * bizId
     */
    private String bizId;

    /**
     * bizType
     */
    private String bizType;

    /**
     * weight
     */
    private Integer weight;

    /**
     * hasChildren
     */
    private Boolean hasChildren;

    /**
     * features
     */
    private Map features;

    /**
     * operatorId
     */
    private String operatorId;

    /**
     * status
     */
    private Integer status;

    /**
     * version
     */
    private Integer version;

    /**
     * outCode
     */
    private String outCode;

    /**
     * label
     */
    private String label;

    /**
     * value
     */
    private String value;

    /**
     * children
     */
    private List<OrganizationSDO> children;

    /**
     * disabled
     */
    private Boolean disabled;

    /**
     * isLeaf
     */
    private Boolean isLeaf;

    /**
     * leaders
     */
    private String leaders;

    /**
     * platformId
     */
    private String platformId;
}
